github.com/coder/websocket.slidingWindow.buf (field)
22 uses
github.com/coder/websocket (current package)
compress.go#L167: buf []byte
compress.go#L193: if sw.buf != nil {
compress.go#L206: sw.buf = make([]byte, 0, n)
compress.go#L211: sw.buf = sw.buf[:0]
compress.go#L213: swPool[cap(sw.buf)].Put(sw)
compress.go#L218: if len(p) >= cap(sw.buf) {
compress.go#L219: sw.buf = sw.buf[:cap(sw.buf)]
compress.go#L220: p = p[len(p)-cap(sw.buf):]
compress.go#L221: copy(sw.buf, p)
compress.go#L225: left := cap(sw.buf) - len(sw.buf)
compress.go#L229: copy(sw.buf, sw.buf[spaceNeeded:])
compress.go#L230: sw.buf = sw.buf[:len(sw.buf)-spaceNeeded]
compress.go#L233: sw.buf = append(sw.buf, p...)
read.go#L132: mr.flateReader = getFlateReader(mr.flateBufio, mr.dict.buf)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |